package org.eenie.core.ext

import androidx.fragment.app.FragmentActivity
import androidx.fragment.app.FragmentTransaction


fun FragmentActivity.transact(block: FragmentTransaction.() -> Unit) {
    supportFragmentManager.beginTransaction()
        .apply(block)
        .commit()
}